package com.aisi.backend.mapper;

import com.aisi.backend.domain.entity.AccountDetails;
import com.aisi.backend.domain.vo.request.DetailsAccountSaveVo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

/**
 * @Author: shenjianZ
 * @Date: 2024/5/10 下午5:32
 * @Description:
 */

@Mapper
public interface AccountDetailsMapper {

    AccountDetails findAccountDetailsById(Integer userId);

    Integer saveAccountDetails(Map<String, Object> map);
    @Insert("insert into account_details (id) values  (#{userId})")
    void initAccountDetails(Integer userId);
}
